moved all capacity and updating functionality to non-member, non-friend functions. updated arc constructor to require the nodes on the arc
added tests and implementation of add arc function