LZW should be a function.
    testString: assert(typeof LZW === 'function');
  - text: LZW(true, "TOBEORNOTTOBEORTOBEORNOT") should return a array.
    testString: assert(Array.isArray(LZW(true, "TOBEORNOTTOBEORTOBEORNOT")));
  - text: LZW(false, [84, 79, 66, 69, 79, 82, 78, 79, 84, 256, 258, 260, 265, 259, 261, 263]) should return a string.
    testString: assert(typeof LZW(false, [84, 79, 66, 69, 79, 82, 78, 79, 84, 256, 258, 260, 265, 259, 261, 263]) === 'string');
  - text: LZW(true, "TOBEORNOTTOBEORTOBEORNOT") should return [84, 79, 66, 69, 79, 82, 78, 79, 84, 256, 258, 260, 265, 259, 261, 263].
    testString: assert.deepEqual(LZW(true, "TOBEORNOTTOBEORTOBEORNOT"), [84, 79, 66, 69, 79, 82, 78, 79, 84, 256, 258, 260, 265, 259, 261, 263]);
  - text: LZW(false, [84, 79, 66, 69, 79, 82, 78, 79, 84, 256, 258, 260, 265, 259, 261, 263]) should return "TOBEORNOTTOBEORTOBEORNOT".
    testString: assert.equal(LZW(false, [84, 79, 66, 69, 79, 82, 78, 79, 84, 256, 258, 260, 265, 259, 261, 263]), "TOBEORNOTTOBEORTOBEORNOT");
  - text: LZW(true, "0123456789") should return [48, 49, 50, 51, 52, 53, 54, 55, 56, 57].
    testString: assert.deepEqual(LZW(true, "0123456789"), [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]);
  - text: LZW(false, [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]) should return "0123456789".
    testString: assert.equal(LZW(false, [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]), "0123456789");
  - text: LZW(true, "BABAABAAA") should return [66, 65, 256, 257, 65, 260].
    testString: assert.deepEqual(LZW(true, "BABAABAAA"), [66, 65, 256, 257, 65, 260]);
  - text: LZW(false, [66, 65, 256, 257, 65, 260]) should return "BABAABAAA".
    testString: assert.equal(LZW(false, [66, 65, 256, 257, 65, 260]), "BABAABAAA");
```