I see what you are saying but in the code above it would not drill a single hole, so why bother writing the code in the first place.
Not only that its very inefficient code. I could be done in a third of the lines.
It reminds me of Microshaft, why do in 20 lines, what you can do in 200
Graham.