Prime number extractor utility added