Ruby nth prime number generator for Epicodus