Create getDirFileList.m

Given a directory name the function returns a cell array of the containing the file names in the directory. If an specific file extension is specified then it only returns the names of the files with those extensions. Possible extension extra argument for recursive search of subdirectories.