New c++ library

It was just a compilinng, linking and running check for obvious mistakes.

I had not spend more time on it since I'm making use of the new C++ library already in another code but I agree with you that this test should actually test the functionality. Should I implement that now or do you think it is safe to merge now and work on this later?