Fixed swap_chars, and added it to part of the demo. User can now see substitutions happening in real time!