Added support for non-square maps.
Added pathfinding to basic AI behaviour.