Update calculator.scala