update gitignore to add cmake
add a simple cmakelist template