gets.chomp fixed everything.

This is the first time I have used gets.to_i or gets.to_s usually I do 
use gets.chomp as that is what codeaccademy taught me. It's not 
optimally fast but it works. Now I can duplicate and try and make it 
faster!

You have all been very helpful especially Robert! Thanks Guys!

-- 
Posted via http://www.ruby-forum.com/.