I want to split a list recursively and ultimately store it in a tree like structure.
My goal is to implement this from scratch to really understand and learn, i.e. I