Finds prime numbers.