Algorithm for Control of Traffic Flow in an Intelligent Transport System | Synapse