update solution 1 for Clone Graph