Add support for generating VCDs.

  * basics_main.cpp (main): Add VCD generating code.