public Double multiply(ImaginityPart number)//method to multiply two imaginity parts
 {
     return -this.value * number.getValue(); // return - because of i*i
 public Double multiply(ImaginityPart number)//method to multiply a real and an imaginity parts
 {
     return this.value * number.getValue();
 }