Implement a lazy inorder traversal iterator | Apple Interview Question