Chapter 13: Silver challenge done. Not my preferred but it works.