add stack demo program