an exercise using if statements,for loops, return types, and printing to the console.