Added LZW encoding and extension methods.  Added test class as well.