Implement celebrity algorithm.