Nurikabe Puzzle and solver in Qt