Add function AddNumberNTimes. Add Tests with scalacheck.