improved the OutputReducer to emmit the cluster prototypes