in reply to Hashes Question

Recursion is the key. This StackOverflow article should get you started.

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius