First excercise in Ruby