Completed problem 3 - Largest Prime Factor