Walks on the binary tree | CodeChef