Basic Ideas --- Accumulation Note for acc consists of two values: head, tail head The head of previously output result Returned as output tail The tail of previously output result Next output is added to this using num