void trailblaze(int startrow, object[>[> arr, int[> size, string pathtype) {
int currx, curry, move, rowtype;
currx = 0;
curry = startrow;
cout << currx + ", " + curry << endl;
arr[currx>[curry> = special "path" value;
while(currx < size[1>) {
if (curry == 0)
rowtype = 1;
else if (curry == size[0> - 1)
rowtype = 3;
else
rowtype = 2;
if (pathtype == "lowest"

move = find_lowest_direction(rowtype);
else
move = find_random_direction(rowtype);
if (move == 1)
curry++;
if (move == 2)
currx++;
if (move == 3)
curry--;
cout << currx + ", " + curry << endl;
arr[currx>[curry> = special "path" value;
if (currx == size[1> - 1)
currx++;
}
}