Update HashMap.h writeToFile() documentation

small fix to documentation