IBM Interview Question

implement the rate limiter implemetations