Found the 10,001st prime number - in Ruby