Added ex3.rb file to git repo