added a diagrame and code explanations to messaging in ch1