Major implementation of datastructures in c/c++