Nth Prime in Coffeescript