Another college work: Implementation of arithmetic coding