add rotation to pairs game

Tested on darcy.

optimized fractal algorithm took 14.66 seconds