Diacriticals.
Correct the sample code

Also considered renaming the variable to `total` but I felt like leaving it as `sum` and using the module as a prefix for the function would be clearer.
Correct a name collision.
Merge pull request #1 from robrix/patch-1

Edits to the README