Modifying behavior of printTree to accommodate complex numbers.