Return before EOF
Addition of a gitignore
Formatter script for the C++ code
Formatted with astyle script
Merge pull request #9 from JoeTheDentist/refactoring

Refactoring