Bronze, Silver, and Gold challenge solutions to BNR iOS Chapter 2