Handle hash collisions

Add chaining to handle hash collisions.

This fixes the two "boils" along the bottom.