C++ codes of some Data Structures problems