Worked on multiple excercises, but can't seem to figure them out. Finished 2nd Project Euler problem