Java Solution: LeetCode Path Sum Problem | Finding Sum of Paths