Implement a function generator.
It returns the function by the name given. Support three functions:
- "identity" (returns its argument).
- "half" (returns its argument divided by 2).
- "zero" (returns 0).
If the name is unknown, return the "zero" function.