public bool Equals(Variable other)
 {
     return Index == other.Index && Type == other.Type;
 }