lots of changes to tic-tac-toe, added 3d version shell