A device that mechanically solves rubiks cubes