Spreadsheet implemented in haskell