public State(State other) { X = other.X; Y = other.Y; k = other.k; }
public State(int x, int y, Pair <double, double> k) { X = x; Y = y; this.k = k; }