formatting updates
ch. 7 - working with sets and breaking a problem into sub functions