Cleaning code format

Amended with code format suggestion from @GrahamCampbell
- All files should end in a single new line.
- Put 2 spaces after word “int”
- Put braces on new line