Exercise 18 - declaring and invokend user-defined functions in ruby