assignment and  practice in C++ And Data Structures