Arithmetic Coding Algorithm Questions