cleaning unnecessary method
added tests for throwing exception when passed argument is null or empty
added throwing illegal argument exception
Merge branch 'feature/lzw'