Corrected impl. of hash sets, tests passing.