A data routing simulator used to verify the algorithm