Bash Split First Occurrence Leetcode Two Sum 2