Added flowgraph module to build flow graph. Added some tests for the flow graph.