Ch1-E8: Implemented Book's Solution
Merge with remote