I think Mike is right. I noticed that the indents were not correct in the tutorial code (compare the plain text code view for the index method on page 2 vs. the methods on page 3 - the index method has the correct level of indentation, while the others have too much). Copying and pasting the code on page 3 results in your indent problem.
Removing one level of indentation should do it.

