Count Steps Leetcode Playground Python