add finder.c and add it to Makefile