Update function_pointers.h

Added description and examples