Working AI commit.

AI can now move around alot more.