instantiates an object from class of createJunction
createJunction(name, downstream,
inflow, delayInflow)(optional) a string: the name of junction to be instantiated
(optional) an object from either of classes: createDiversion, createReservoir, createSubbasin, createJunction, createReach.
(optional): a vector of direct inflow rather than flows comming from upstream (cms)
(optional): an integer presenting the time steps to delay direct inflow time series
a list: an object from class createJunction