Implements a hash table to solve puzzles.