implement ReverseWordsInString with stack. TODO:doc, demo