I've changed only the names of the variables and the comments to portuguese, plus other minor issues.