STL_ practice code