Dynamic string buffer library with some string helper functions for C