fixed braces in their own lines
fixed comments
fixed indentation
fixed copyright notices
fixed operator spaces
fixed spaces around if,else,while,for