changed gitignore and pathfinder.c