adding a new algorithm/task for comparing documents in a set