Exercise with STL string