Tidied indentations and added .gitignore file