Finds largest prime factor of a large number