Added switch to turn NullCheck printouts on/off based on intructor's latest comment on Piazza.