changed hamtPairs to generate an alist instead of an ordinary cons