-Fix a lot of typos inside general messages.

-Add some spacing between operators and signs to make the code more readable.
-Rename a few variables due to typos.
-Rename some variables in Camel case for a faster reading of the code.
-Add lots of brackets for if and for clauses again to avoid possible mistakes when reading the code quickly.