coded changed to(it's now realy fast
print("creating a 2x2 tunnel")
loop = 1
while loop == 1 do
turtle.dig()
turtle.forward()
if turtle.detectUp() then
turtle.digUp()
turtle.up()
else
turtle.up()
end
turtle.turnRight()
turtle.dig()
if turtle.detectDown() then
turtle.digDown()
turtle.down()
else
turtle.down()
end
turtle.dig()
turtle.placeDown()
turtle.turnLeft()
end












