Fixed some more code in the readme file

There were some more errors in the code snippets
Merge pull request #6 from SkuliOskarsson/patch-1

Fixed some more code in the readme file