Leetcode Shortest Path Between Two Points