Generate All Substrings Of A String Python Documentation W3schools