print.modMarks function

Generic print function for modMarks.