This program uses a mining turtle and a constantly resupplied ender chest to make a rectangle of whatever size you want
Uses : Ender Quarry setup
Outlines of a house
Utility: This program will place any object below it and it removes objects in the way

Instructions: fuel it up place an ender chest in slot 16 and fences in every other slot. when its empty itll get more fences from the ender chest

Problems/Future plans: I havent coded the turtle to get rid of unwanted blocks
For example : setting up a 500 by 500 fence perimeter in the deep dark : the turtle will resupply, but if there's anything in the inventory when it resupplies it wont work
You have to make sure it has enough fuel before you start

Pastebin: http://pastebin.com/KBK6nYyx

Let me know about anything i could add and how you like it :)/>

EDIT: almost done with the cobble or digging items and throwing them out be updated sooon