LZW Compression Algorithm Implementation