Sort Colors Leetcode Solution In Python A Namespace