Multi-Child Tree Layer Traversal - Coding problem | OneNoughtOne