Boost C++ library tutorials made my own with OOP