list <string>::iterator it = myList.begin();
string firstLine;
string secondLine;
string tempbucket;
list <string>::iterator it2;
cout << "Enter first line to swap (Line 1 is 1, Line 5 is 5): ";
cin >> firstLine;
cout << "Enter second line to swap (Line 1 is 1, Line 5 is 5): ";
cin >> secondLine;
advance(it,firstLine);
advance(it2,secondLine);
myList.swap(*it,*it2);
if( a < lst.size() && b < lst.size() ) // swap lines #a and #b in the list
std::iter_swap( std::next( lst.begin(), a ), std::next( lst.begin(), b ) ) ;