Added function pointer examples