chore(ce(chapter6): added chapter 6 code

Signed-off-by: Josh Kurz <jkurz25@gmail.com>