Dealing with the Routing Problem part1(Computer Science)