Less repetition (tests)
Rotations implemented

I have finally managed to properly implement rotations. I wrote
permutations for X and Y, Z is a composition of X Y X'