Now takes a directory specified in the program parameters, and scans for header files.