added debug statements to arpcache.c and router.c