Fixed some formatting

For the formatting, I've gone ahead and used 2 spaces for a tab, and
I've put open braces on the same line as whatever they are braces for.