practice Algorithms with C++