Here’s my amazing solution to the programming challenge in chapter 14