Paste your nonogram definition here. The first row gives the height m and width n of the nonogram. The next m lines give the rules for the rows, and the next n lines gives the rules for the columns. Source code on GitHub.