Solved problem 8 in ruby
Merge pull request #2 from mjgpy3/solved_8_in_ruby

Solved problem 8 in ruby