program that prints different cell values representing cells in a spreadsheet