pathfinding and fixes

Coded up an a* algorithm for guards. Fixed bug with flashlights