Homework for Ruby training