Leetcode Sum Of Distances From Vertices And Horizontals