tic tac toe: check for vertical/horizontal wins