Find the largest prime factor of a composite number