Added functionality to loop through directory; compile errors

Will not successfully compile do to "vector" in namespace "std" does not
name a type.... ?