can check if a series of squares has a winner