created grid array with 81 elements
divided grid into rows