add solution to the challenge 'Game of Rotation'