How to check that given graph is Bipartite or not?

A post was split to a new topic: Plot Petersen graph