A goofy attempt at writing a nonogram game in Perl