Add example for class templates. Add explanation for type caste operators