two loops and one HashSet to find 4 elemnts whose sum is target