Given an assignment to implement a compression algorithm for an Intro to Data Structures & Algorithms course in order to teach hash tables, dictionaries, and collision resolution.