fix bug and add Stack cpp and template