Finish alg demo app