What are some potential applications of such an algorithm?