There is a natural expectation after placing an item into a bag that we will later be able to remove the item from that bag. Otherwise we have created a hole. Let’s implement retrieval for our hash map.
HashMap. It should take two parameters:
.retrieve() should calculate the array index in the same way our
.assign() does and then retrieve the value at that index.
Return that value.