I made exercise2.rb file
I made exercise3.rb file
I made exercise4.rb file