typedef struct complex 
        {
        double real;
        double imag;
        } COMPLEX;
