Fixed a Funktion to generate the reset value
Redone the whole thing.
Added a reset function that rests the pos
Fixed the space problem.

Now the encryption can encrypt with spaces