Add .gitignore and gtest.
CMake file and a dummy test.