fixed lexer bug

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
SimpleGraph builds a simplistic representation

The idea is to provide enough functionality to parse a graph into a
format which has no subgraphs and throws away all information except
node and edge labels. It does no sanity checking in anyway.

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>