Implemented a simple hash table for chapter 1.