modify project to a cmake project
modify cmake files
add example to cmake
remove cmake files
separate examples into different files
examples are separated
add z and m libraries