a function that maps data to some fixed data for access to create a table
a function that takes in the key to compute a specific hash index.
maps keys of a given type to integers in a fixed interval [0, n - 1]