Math Behind Digital Communication