This is a final version of the Home Work #1 for Ruby Garage, Kyiv, 2013