(Golang) Problem 6