Python Recursive Function Variable In Coding