plot 4 routing algorithms