Builds a data structure mapping keys to values using a hash function to achieve O(1) average lookup time.
Explain code with DocComment! Try out your own code!