started multiplication method for permutations