The New Turtle Solver (cont) 

turtle_mapping_2.png

my @positions = (
    [ 0,  1,  3,  0],
    [ 0,  2,  4,  1],
    [ 0,  0,  5,  2],
    [ 3,  6,  8,  0],
    [ 4,  7,  9,  6],
    [ 5,  0, 10,  7],
    [ 8, 11,  0,  0],
    [ 9, 12,  0, 11],
    [10,  0,  0, 12],
);