Cleaned Up Code

Easier to read for those who haven't interacted with the code before.
Lined things up and corrected minor syntax errors