Added solution for P27

(**) Group the elements of a set into disjoint subsets