finish some exercises about string, not tested yet