Added exercises 29 and 30