Printer en korteste sti fra node til node .