Implemented pathfinding for simple monster AI