fixed so doesn't print out a + b =c and b + a = c