Find prime numbers within boundaries