created row arrays for the generalized board