Implement PPM decoder