Update roman_num_old.rb

Modified the while loop to remove unnecessary parts.