Is the rectum a major organ of the digestive system or an accessory organ? Is the pharynx an accessory organ?