Simplified code

Simplified printBoardLabels() code in moving the assignment to one axis
out of the loop