Leetcode Run Length Encoding Python Compiler With Scipy