Standardized formatting

Created with `indent --linux-style *.c`
Got rid of gcc warning "return type of ‘main’ is not ‘int’"