Added win-condition checking for diagonals