修改stack的实现，使stack类更加健壮
Merge branch 'master' of https://github.com/ljianhui/Data-Structure