Adding license to file hash.cpp.

It was missing. I checked other .cpp's.