solution in go