Fixed prime? in Ruby