fixed bugs in tree pretty_print
added search_tree pretty_print