Worked on remove() function. Added find_parent function. Added TODOs. There are some leaks. Need to completely redo the remove() function.