Different algorithms for solving nonograms