Starting to work on recursion
Still using a tree, but not sure if it's required