I added an isSolved() method in Board class