Phase 2: Intermediate • Module 1: Advanced Function Patterns
Implement a function that accepts a callback and restricts its invocation to at most N times