renamed print_instance to print_instance_summary. Also refactored the _print_table functions to a general print_table function.