Stop leaking the hash table for knucleotide

This PR stops the leaking of Node objects, greatly reducing the total amount of memory leaked by this test.