C++ code from University of Delaware data structures course