Added module6.js that exports 1 function that filters the given directory by the given extName. Also added program6.js that makes use of this module