New go solution

I saw that the shortest solution was kinda awkward with its use of global variables. I played a bit of code golf and tweaked some of the other solutions to create the shortest solution yet. In addition, like the abursavich solution this one supports multiple arguments and non-string arguments.