ex5.rb original
ex5.rb extra credit added