updated graph_flag.pyx and hypergraph_flag.pyx to run with Sage 6.4.1