Fixes crash on large files, adds calgary corpus

Fixes crashes on certain files (e.g. calgary/news) in LZW-b.cpp.  Also
adds some commenting, cleans up old code.