Added an arithmetic encoder -- decoder pending.