Completed the lab in one go, though for some reason either add or edgeExists does not function as desired.
Merge branch 'master' into proctopj
I fixed the error in the getCost() method. Now it functions perfectly.
Merge pull request #12 from proctopj/proctopj

Proctopj