Fix variables

Use camelCase for variable names and define them in start of function alphabetically. Also, replace 2 lines with text = newAddition + "\n";