Add a Go solution to problem 10.