Assignment 6 uses the teachers code, where we have to implement two methods. The purpose is understanding linked-lists and pointers in c++