Permutations class for Julia