added a few functions that can print the values of the tree in order of magnitude to make sure the tree gets created properly