added private root var to kdtree class, along with getter method for tree root node.
printTree method now prints nodes grouped by level in the tree. Misc changes in main reflecting changes to kdtree