Arithmetic Coding Encoder