AVL Tree working, but encounters a maximum recursion depth problem when inserting a larger number of numbers, ~30 items