added invertstring.c