printing source and destination
printing vertices traversed