Finished exercises 21 and 22.