Added some brackets and spaces to make the code pretty.

Please use Github to view the code!