CS 240: fixes various typos as discussed in #8 (thanks Jason).