Car Pooling - Leetcode 1094 - Python