changing operator function to virtual, added operator list, change <<
streaming to print statements leading to stream << operator for base
operator
compiles after makeing operator virtual
compiles and runs, now problems with output