結果 : why is my recursive function returning none