Edit indentation and spacing

Especially in variables initialized in for-loops.

Also add `return 0;`