Added clustering, implemented in Lua
Debugging and improving kmeans