Updating AI with tests. Adding first move.