Update recursion.scala