Vehicle networks simulation with minCost Algorithm basic version