Rewrote the function used to debug print_table() as debug_print_table()