homework Heaps/Hashes