Finishing Extra Credit for Exerice 10.