Modified printTree.py to prompt user for input at command line