private void trackBar1_ValueChanged(object sender, EventArgs e)
        {
            _problem = new Problems.QueensPuzzle(trackBar1.Value);

            _currentState = new Problems.QueensPuzzle.State(Enumerable.Range(0, _problem.Size).Select(x => (x * 393342739) % _problem.Size).ToArray());
            panel1.Invalidate();
        }
        private void trackBar1_ValueChanged(object sender, EventArgs e)
        {
            _problem = new Problems.QueensPuzzle(trackBar1.Value);

            _currentState = new Problems.QueensPuzzle.State(Enumerable.Range(0, _problem.Size).Select(x => (x * 393342739) % _problem.Size).ToArray());
            panel1.Invalidate();
        }