Example of inline
void Link::addBefore (int val, List * theList){
Link * newLink = new Link(val, this, backwardLink);
// put it into the appropriate place
// replacing first element in listtheList->firstLink = newLink;
else {// inserting into the middle of the listbackwardLink->forwardLink = newLink;backwardLink = newLink;}