while true do
turtle.dig()
go forward
turtle.forward()
turtle.digUp()
shell.run("enderdig 1")
sleep(.5)
end