public BNetwork(BNode... nodes){
  this();
  addNodes(Arrays.asList(nodes));
}

public BNetwork ( BNode ... nodes ) { this ( ) ; addNodes ( Arrays . asList ( nodes ) ) ; }
creates a network with the provided list of nodes
