Design a function library that allows registering functions with specific argument types and retrieving matching functions based on input arguments.
Implement the FunctionLibrary class:
FunctionLibrary