Update 09.scala

tail recursive