Fix Tabs Style

replaced all tabs to 4 spaces
used some formatting with the Astyle program