Fix indentation

- Using 4 spaces for indentation
- Adding some space after function declaration