Added exercises 6 to 13