Introduction - If you have any usage issues, please Google them yourself
the whole source code for this example using the k=3 and the initial means are (2, 10) (5 ,8) and (1, 2) and the the following are the points.
piont
A1 (2, 10)
A2 (2, 5)
A3 (8, 4)
A4 (5, 8)
A5 (7, 5)
A6 (6, 4)
A7 (1, 2)
A8 (4, 9)