handle compile warnings and add .gitignore
Merge pull request #2 from shaie/compile_warnings

Compile warnings