Android Stack Overflow Error Recursive Function Example Python