Preparing for rewrite of mathtools
Rewrote mathtools.c in C++
Moved files to respective folders
Rewrote fract.c in C++
Added necessary header files for cross-file functions
Started rewriting factor.c in C++
Rewrote factor.c in C++. Needs further testing after rewriting primes.c
Rewrote primes.c, removed unnecessary headers from all files and tweaked a few things
Added LICENSE, README and build files
Removed unnecessary newline in factorization output