How To Find All Possible Substrings Of A String In Python