An Adaptive Lossless Data Compression Scheme for Wireless Sensor Networks. (11th November 2012)