Minimax AI implemented

Minimax AI in place. Very slow, but at least it works.