Implementing a Simple Object Recognition System