made the whole_board method prettier