Added .gitignore
Fixed compilation errors