Added Graph data structure and bipartitor.