added solution for largest prime factor