Update 00_nearest_larger.rb

Shorter code and easier to understand.