Big improvement.

1. Added more examples.
2. Reorganized the directories.
3. Used CMake to build the project on Linux.
4. Bugs fixed.