A small calculator written in Scala