scala-basic: recfun assignment
scala-basic: recfun solution