taking passed arguments,  directory to search for pattern,  search all dirs and subdirs in the working dir (path) and return search results.