Made a first pass at working AI, it sucks