added ruby nth-prime