Rate Limiter Python Programming