Added problem #8 in Go