Laufengd_Lab_08

You need to check node1 < adjList.size() before using it.