Added add method to allow a key to be added to the hash map