Revised Datastructtest.cpp