fixed win condition checking

added condition checking if player plays in middle grid of a vertical
or horizontal win condition it is detected and properly signals win
condition