Added first AI implementation.