The Motion of Long Bubbles in a Network of Tubes