Update 01_no_repeats.rb

My own solution to the repeat digit problem.