A snake is in an 8x8 matrix, giving the coordinates of the cells that are considered obstacles in the matrix, when encountering an obstacle the snake can turn left or right.