质数检查器

Check if a number is prime and find its factors.