refactor four_sum in rSum in leetcode