Made changes to some functions and added solutions to problems 7 to 10 of Project Euler