Generating Random Networks Without Short Cycles