Added a hash deletion method, changed the method for deleting hash keys