Code style

Changed the code style to how I prefer it (with comments).
Also added the compiled tasks to the .gitignore file.