added excercise 38.rb