added depth parameter to print_tree()
resolved #12