use StrBuf to support push_char method
Merge pull request #37 from jschaf/fix-balanced

use StrBuf to support push_char method