Hobby codes to try some Cpp concepts