Added basic AI

I think what I'll end up doing is a hybrid of old and new AI, using new
AI for basic stuff (like wandering/looking around) and old for more
precise stuff which needs to happen more often then every few seconds
(like fleeing from fire/the undead). Comments/input on this is welcome.