Initial Clustering complete

Lots of changes all around.
Note: Java doesn't have pointers. It is only pass-by-value, not
pass-by-reference, like C languages
Next is removing sporadic grids.