early attempts at learning and understanding C++