Added cmake

CMakeLists.txt is usually placed in the root folder, this is a basic
cmake file that will do everything necessary to build the program as
either as a library of another program or by itself.

Another item for
#1