g = Graph({1:[2,5],2:[1,3],3:[2,4],4:[3,5],5:[4,1]}) creates a graph
g.plot()
g.is_bipartite() //checks whether the graph is bipartite
False    //final output