Create 4.rb

4a & b, only a works properly