Added Tile.clone method.
Added Grid.clone method.
Added solver.js.
Modified to load solver.js.
Added GameManager.tick method for AI.