Basic AI implemented

...it's really really easy to beat, lol.