Small simulation of traffic algorithm.
Added more complex tests