Properly treating a couple of edge cases
Adding .gitignore for default output files