add FunSets.scala and tests