Fixed compilation flag
Added c++ compile script
added .gitignore