print_tree prints the object addresses