Check that spreadsheets in spreadsheet.hs are tree-like