Added compiler optimization flags, created .gitignore