Added initial Permutations implementation