nTwice(String str, int n) method added
.
.