Added hash funcitonalities in base/hash.cc and associateded tests.