Thanks. Updating the drivers did the trick.
@Nexus Mostly because by starting the indexing from 1, identifying the nodes is easier. Also helps a lot with the adjacency matrix. As for the second part, only lately I've started studying the OOP/STD side of C++ (I know, it's stupid but the school taught us "c with cout" and didn't focus on the actual improvements of c++ over c)