Update Chapter 2

fixed some spelling errors in the variables