[FIX] fixed solution for problem 8

Solution for problem 8 was incorrect. The solution that I changed it to is the one worked on Project Euler.