added comments to adt.cpp to help with programming