Added AI for 1player games

Added a simple AI