Added input scrit to build project (CMake).

Add file main.cpp with a dummy main function.

Update .gitignore to not keep track of CMake generated files.