Added all pairs example