AI Code Mark I

I added four directional support for the AI code. Currently untested.

Upon last test, wall detection worked for direction 0. Nothing else was
tested.