Added .gitignore

Added a .gitignore file with entries for compilation artifacts and CMake generated files.