Recursive Flatten Method completed with passing tests