Chain-block chaining mode.

Setup a base mode class containing shared modes. To use CBC mode add
the `-mode "cbc"` parameter from the command line.