Add exercise 3.25 to fp-in-scala.