Fix indentation

fixes #4
Fix functions with the word end in their name (INDENTATION)

relates to #4
Merge pull request #5 from coaster3000/patch-1

Fixed some indentation issues