Added more complicated AI, which follows an enemy, attacks, and can be attacked back.