clone graph：using queue and map