Added table printing
Added recursive search and interactive mode. Updated print_tables