Fixed code formatting issues (spaces around operators, indentation errors)