Set FunctionalProgramming homework