Coordination of Connected and Automated Vehicles