Nth Prime in CoffeeScript