Prime Number Extractor