Debugging tree insert function. Saving the last compiled state before altering this function.