Leetcode First Non Repeating Character Python