Used the Formatting Tool from NetBeans

Now the code should be more readable