Home work for Ruby