added gitignore, c++11 flag