Problem 3 solved [Project Euler].