Create Text Scrambler

This is the code that I ended up settling on for the fourth assignment of the course. This code goes for the extra credit portion of the assignment which is to handle internal punctuation as being immovable (but have the characters still scramble around it). If I were to recode this program, I would have the scrambler as a single function that ran either the non-punctuated logic or the punctuated logic depending on the string passed.