Finished adding coloring functionality to IGraph.java