Hot Potato Routing Algorithm