Finished Exercises 10 and 11