They are selecting the Centroids randomly, which is non-ideal... but this can be a good starting point and extended to incorporate some type of clustering (K-Means) for Centroid selection.
I'm curious about this topic since I haven't been able to come up ith some kind of a tutorial of some sort to implement this kind of method. Has anyone came up with something like that?