working on the largest prime factor problem