Complex and Rational Numbers Class