[Formatting] Auto-indented source files

Since the project was imported from an eclipse project, the indentation
was not proper.
I used NetBeans auto-indent to rectify things.