Make a double loop
i=0 to n
j=i+1 to n