1. function breakPlace()
  2.   turtle.dig()
  3.   sleep(5)
  4.   turtle.place()
  5. end
  6.  
  7. while true do
  8.   if redstone.getInput("back") == true
  9.   then
  10.     breakPlace()
  11.   end
  12.   sleep(1)
  13. end