Finished interface of algorithm, waiting for test