Update euler1.go

Made sum the name of the return value and removed the local variable.