Changed when the main method prints solved board