Update adjMatrix.java