Adding swap in string class

Added swap API in string class.
Added a new example for string class.
Updated test_string.cpp for swap test cases.

Please review.