separating logic into 6 arrays, one for each row/column/diagonal win