Further shifting, including simplification
Shifting to hex for easier reading
Finished switching state creation
Implemented conversion from ints to states
Started shifting tree extraction to not use states