Fix input in chapter 2 example
Fix spelling