Modifing function so it takes 2 parameters. A number of repititions and a hash of desired multiples paired with a word to print.