Change README code snippet indentation

It was using a one-space indent, then a random 4-space in one place. Made it all four space, as that appears to be the convention in this repo (looking through the code).
Fix method declaration spacing
Merge pull request #231 from pwightman/patch-1

Change README code snippet indentation