Starting implementation of minimax function in AI.
Fixed thread delay in Game.java.