Two Sigma Interview Question

Implement an iterator. Design a guess game. Let the computer guess what animal you are thinking.