Reformatted code.

- Changed tabs to spaces (yes I realize now why everyone uses spaces).
- Ran code reformatter on all files to ensure uniformity.