three sum brute force