Add solutions for Problem 1 to 10