Added problem #6 in Go