add repr function so you can print a node