renaming source file
fixing makefile (because I renamed the source)
added search_dir function, that finds where cmd is