Update chapter-06.md

Make sure this code example runs as expected. Errors out otherwise (as `plus_one` will be unresolved)