basic implementation of k-means and beginning of a simple CLI tool with FreeImage dependency