Updated euler1.rb