Perl class for image checkerboards creating.