add restarting of game

Tested on bennet.

optimized fractal algorithm took 13.87 seconds