1. Functions keys() and keyValuePairs() implemented.
2. Get rid of createNode() by moving mapi to the most specific type so no virtual dispatch is needed.
3. Delete unused functions and some renaming.
1. Implemented methods minElement(), maxElement(), and merge().
2. Equality and hash functions for all the tuples.