Completed exercise 21 and extra credit.