Removed redundant parentheses and replaced expressions of the form x = x + n with x += n