Update Main.java for extra method

This method may help in the future when listing tables.