Pergunta de entrevista da empresa Balyasny Asset Management

Implement the `curry()` function. E.g. ``` const add = (a, b, c) => a + b + c; const curriedAdd = curry(add); console.log(curriedAdd(1)(2)(3)); // prints 6. console.log(curriedAdd(1, 2)(3)); // also prints 6. ```