Update classwork.cpp

Added comments