Added Utils.permutations that considers duplicates
Half baked 51
ignore prof