renaming leftmost occ function
moved util function out of repair core
starting prototype of repair tree
a bit more progress on tree implementation
implementing repair with an actual tree