% From JaCoP's nonogramRepository/data043.nin rows = 20; row_rule_len = 5; row_rules = array2d(1..rows, 1..row_rule_len, [ 0,0,3,3,1, 0,2,1,1,2, 0,3,1,3,3, 0,2,1,3,2, 0,3,1,2,3, 0,0,0,1,3, 0,0,0,0,2, 0,0,4,2,4, 0,1,1,2,1, 1,1,3,5,2, 0,4,2,6,1, 0,0,1,2,1, 0,0,0,4,4, 0,0,0,0,4, 0,0,0,0,1, 0,0,3,1,3, 0,0,2,4,2, 0,3,1,1,3, 0,2,1,1,2, 0,0,1,4,1 ]); cols = 20; col_rule_len = 6; col_rules = array2d(1..cols, 1..col_rule_len, [ 0,0,0,0,4,1, 0,1,1,1,1,1, 0,2,1,1,1,2, 0,0,0,3,6,3, 0,0,0,0,2,2, 0,0,0,0,3,3, 0,0,0,0,0,1, 0,0,0,0,6,2, 0,0,0,0,2,7, 1,8,1,1,1,1, 1,7,2,1,1,1, 0,4,1,2,1,4, 0,0,0,0,0,2, 0,0,0,0,0,2, 0,0,0,3,2,3, 0,0,0,2,2,2, 0,0,3,1,1,3, 0,2,1,1,1,2, 0,1,1,1,1,1, 0,0,0,0,2,3 ]);