Add solutions for Problems 1 to 10