Commented out getNexthop; fixes to forwarding directive implementation; moved some code blocks in routePackets as was needed