Prints a formatted table to the screen