Sum Of All Pairs In An Array