Implemented naive pathfinder, fixed Makefile