modified PrintCalenderC