created board10state to extend gstate. generalized gstate to incorporate boards with different spaces