added comments to Edge class