Add a Go solution to problem 1.