added problem10.go