First step: creating list of LZW integers