added string.{cc,h} with memcpy and sorts