removed a debug statement
roots_same2 now searches recursively