ChatGPT - Ruby Tree Printing Method