C++: Replaced add and subtract methods with operators '+' and '-' (Operator overloading).