Problems 8-10 Project Euler