Basic AI!

Finally added some extremely basic AI. I think this should be expanded and refactored a bit to eventually add an AI scripting language.