fix pop bugs
fix stack_new bugs
fix bfs bugs