Pinwheel (NY) interview question

Write a RateLimiter class that has the method `requestAllowed`.