- Created a permutations class (untested)
- Moved global functions out of defines.h and into functions.h
- Restructured header template to be easier to read.
- Changed CMakeLists.txt to remove temporary .cpp file.