Optimizing Traffic Flow Through Interchanges