This short program consists of a single method that takes a number and a hash as input.
It tests all the numbers from 1 to the number input against the keys in the hash.
If the number is divisible by any of the keys it will append the appropriate string onto a response and print the response on a new line each cycle.
Following the method are a few test statements.