adds col, row and region data attributes to each input box allowing for later reference in matrix