output gameboard after undo is called.