You have a rigid body with 1 fixed point in space (the origin).
It's self-explanatory how to get the following equation for the angular momentum:
$\vec L = \sum_n m_n\vec r_n\times\vec v_n$
Where you take the sum of all "$n$" indicates all "$n$" points of mass.
This can be transformed into:
$\vec L = \sum_n m_n(\vec\omega(r_n^2)-(\vec\omega.\vec r_n)\vec r_n)$
Now, out of this, I have to get the following:
For component "$i$" of this equation, you get:
$L_i = \sum_n m_n(r_n^2\omega_i-x_{ni}\sum_j\omega_jx_{nj})$
I understand that for component "$i$", the scalars $m_n$ and $r_n^2$ are the same as for the other components, I also understand that for component "$i$" I need to take the $\omega_i$ component.
But what is meant with everything that follows after that? What does the "$x$" indicate for example? Does the "$j$" indicate the other components?