The dog received a diploma for attending all classes at the University of New Jersey