Help for this page
my @AoA = ( ... my @A = qw(0 0 0 0 1 2 0 0 1 0 1 0);
@AoA[$i][$j] = $index;
@A[$index] !=0