added diagonal win check