Implemented AI, no tests yet