Fixed bugs and added some test code to level-print the tree