Cleaned up most things

* went through the first year and added some comments, optimized some
computations, typos, etc.
* completely reorganized the cplusplus project so that it makes more
sense and everything is nicely separated
* that's about it for now