Wrote parts of router. Commiting due to server shutdown at 6pm EST.
Wrote part that calculates which priority group each output for the router
should serve.