Added add functionality to hash-map