add gitignore
add missing newline at the end of file

for some reason windows doesn't add newlines at the end of files...