Layer-by-Layer Binary Tree Values - Coding problem | OneNoughtOne