Simplify the naive largestPrimeFactor implementation
Slightly faster largestPrimeFactor
Add solution for problem 3