added Color.java for IGraph