regex and output split get own variables

The string split regex and output splitting string have their own
variables. They are both by default a space. currString became
currStringArr so that the newly made currString with its fancy output
splitting wouldn't get in the way of the regex. Added the
printPermutation method to make code more readable