Initial compile structure based on CMake
Add fast algorithm
Merge pull request #1 from ahcorde/master

Compile structure