add make clean; smartly sort test data
debug print
use centroid object
keep a running sum so we can calculate mean later
use pointer-based iterations; use built-in HUGE_VAL constant instead of homebrew
use correct data type in format string
almost got it working...
need to link math lib
debug stuff
print final centroids