Python Does Path Exists Leetcode 75 Study