Code cleanup
Add newline tests
Add last_char function