Finished EX1 in project Euler