Rubik's cube manipulation for Ruby.