algo3: hw3_problem2 get touched