formatted all code with astyle per README.*STYLE

Source codes were mixing tabs and spaces on many places, this will make it more consistent, so that all source code files are using same format