Completed problems 1,2 for project Euler