Added C++ code for Analysis Chapter and extended testing framework.
Merge pull request #250 from OpenDSA/c++-analysis-chapter

Added C++ code for Analysis Chapter and extended testing framework.

Looks good to me, thanks!