Create Problem005.rb

First attempt