Completed the challenge for ch26.
This merges Chapter 27 with Challenge 26, fixing any merge conflicts.