Documentation for HashMap.h

added documentation for writeToFile.h