One example source file with CMake files, working compilation

Updated .gitignore to not include bin, build and temporary files