fixed print messages associated with student, vendingmachine, and courier
also added printDebug which prints the index that calls print