Updated to actually work.
Added test main for graph parser.