Write singleplayer function. Write AI for easy difficulty level.