Test.cpp added

Added the test.cpp file to test the new data structure modifications in
Homework Assignment 6