>>286952752
>(basically you'd have a method that deciphers "1" to the "1" spot on the table and so on)
>for(left over tiles)
This means your method would just be code that "knows" "1" is X Y Z position on the table, and then since tiles are a fixed width and you only need it to the next spot, you'd just do row 1+tile width and then for the next draw row
it'd be row2+tile width etc. etc. 
you should draw up a flow chart for how you expect it to work