added sources, gitignore, and cmake stuff
added example program