Implementing basic hashmaps.