add gitignore for output files
remove trailing whitespace