complex number class in c++