Added AI code to lookahead until the end of the turn. Hooked up AI to actual game.