nonogram solver in nodejs