Complex* sum(const Complex& a, const Complex& b) { return new Complex(a.rePart + b.rePart, a.imPart + b.imPart); }