Updated logic.hs, added aigame.hs