Empty lines refactoring

Removed unnecessary empty lines and added some where needed (after for
loop, after methods, etc.)