AI wip
Added additional AI logic to AI.c. This logic should now be sufficient
for basic testing, but needs to be fleshed out.