create fp2.scala

functional programming in scala assignment