chore(chapter3): added chapter 3 code

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