implemented Programming in Scala's spreadsheet example (SCells)