Create 4.rb

Lesson 1. Task 4.