finished problem sets for string manipulation