added another demo of connected components