Data Structures Homeworks in C++