Fix formatting mistakes in README + 1 typo

Hello,

Some of the code samples in the README were running together with the previous paragraph, instead of being formatted as code, so I fixed that.

Also I fixed one typo.

Cheers,
Dan.