Fixed some typos in chapter2 and chapter3