implemented compression and decompression for BasicLZW, created tests