Create to find largest prime factor of n<=10^6.cpp