spreadsheet engine implementation & test