Minor fixes

While reading the tutorial, I found a few typos and errors.