Implement End of Ch. 5 Exercises