Implementing the PPM data compression scheme | Synapse