Added printing of the tree. Based on code from http://leetcode.com/2010/09/how-to-pretty-print-binary-tree.html