C++ify Old code
Update linktest_stats and linktest_args to modern c++ code. Currently it is literally emulating c++ without using it. The Malloc function (note capial M) should be replaced with new. the structs with classes and init(struct* ist just a constructor. This will greatly improve readability. Also smart pointers will improve lifetime correctness.