Changed how vectors were accessed in Graph.h, so that I use at instead of [] to access elements.