Prob1: printTree() function working

This will be used as a test bench while building other functions