Exapmle codes for operator overloading