My solutions to practice C++ problems