public MainWindow()
        {
            GameOfLife arrayBoard = new GameOfLife(25, 25);
            arrayBoard.RandomizeStartPattern();
            currentBoard = arrayBoard;
            dispatcherTimer = new DispatcherTimer();

            InitializeComponent();

            TheListView.ItemsSource = currentBoard.ToList();
            dispatcherTimer.Tick += dispatcherTimerClick;
            dispatcherTimer.Interval = TimeSpan.FromSeconds((double)RunSpeed.Value);
        }