The thoracic segments have one ganglion on each side, which are connected into a pair, one pair per segment. What is on each side of a thoracic segment?