Started building the c++ code generation portion of bflexergen.py