completed the check_winner method with the diagonals