Implementation of Different Data Structures using C++