Moved printing the first column to its own function.