Just as in Ruby, our functions should return values and not have input/output mixed into them.