Change insert to be non recursive
Fixed delete to work correctly using algorithm from book