Wrote new connection mechanism
Changed it so each sub graph gets connected to each other sub graph. Need to fix a small error in it, and then add the loop so each sub graph can get multiple connections to each other