code: public List<Link> connect(int bandwidth, Switch sw, PhysicalElement... pelts) {
          List<Link> l = new ArrayList<>();
          for (PhysicalElement pe : pelts) {
              l.add(connect(bandwidth, sw, pe));
          }
          return l;
      }
docs: Create connections between a single switch and multiple physical elements
  
  @param bandwidth the maximal bandwidth for the connection
  @param sw        the switch to connect
  @param pelts     a list of physical elements to connect
  @return a list of links