created find.c function
created and used the find.c program