finished string2.py