fixed bug doing second operation on same binary tree segmentation fault - array was not correctly emptyed on begin