Ana and William begin working on the algorithm.