> [snip]

I forgot to plug the website where the full solution is, but don't
look at it before reverse-engineering the word heap;)

http://ruby.brian-schroeder.de/quiz/heap/

regards,

Brian
-- 
http://ruby.brian-schroeder.de/

Stringed instrument chords: http://chordlist.brian-schroeder.de/