attempted solution of number 14 in Python >> still stack too deep >> issue with recursion functions