Fix typo: thrww → three.
Fix whitespace.

Removes trailing spaces and adds end-of-file newlines.