Put the LZW functions in a separate file