Java Code for LZW Compression Algorithm using TreeMap and HashMap