Word Search - Backtracking - Leetcode 79 - Python