+ add source code for basic program and cmake files for builidng and testing
Revert "+ add source code for basic program and cmake files for builidng and testing"

This reverts commit 45a8eba9b45bdf14c0f2513b14a25d7232b70acf.
- update .gitignore to ignore backup files ending with ~
+ add source code for basic program and cmake files for builidng and testing