Adding code for printing the tiles and their separators.