Fix formatting

- Remove trailing whitespace
- Translated tabs to spaces
- Added newline at EOF