update Rational.scala
ch007