add .gitignore
make compilable