Added C++ version of code

Contains all my core cosmology code, so good starting point for tidying
and improving all of that code in a controlled way.