Fix all errors.

In light of the extreme amount of checkstyle errors, I have created a patch to fix as many of them as possible. Now the code is extremely readable and can be understood by ANYONE!