refactor(phase1.go) add findDenpenencies