added function pointer example for polymorphism in C