Compose a Left-to-Right Pipeline of Pure Functions (pipe Utility)
Implement a pipe() utility that accepts any number of functions and returns a new function that passes its input through each function left-to-right — the output of each becomes the input of the next. For example, pipe(double, addOne, square)(3) → square(addOne(double(3))). This is the functional programming equivalent of Unix pipes and is the foundation of reactive streams, middleware chains, and Redux's applyMiddleware.