Completed the lab in one go, though for some reason either add or edgeExists does not function as desired.