add algorithm-demo