Implemented AI for one player mode!