Added ByteArray class and LZW compression implementation