Adding Project Euler #3: Largest prime factor