Code done to study C++ things