Added helper function to connect some v to other vertices with some supplied degree.