Added comments to populateRoutingTable and standardized indentation.