update gitignore add mex, CMakeLists add executable for each file in src