Cleaned up code

Cleaned up code. Indendtations and extra spaces.