Recursive Algorithm | ScratchStats