save data to a spreadsheet, closes #3