finish route.c and ex-2.c for it, valgrind success