An implementation of Rubik's cube permutations in Ruby