http://www.thegeekstuff.com/2013/02/c-binary-tree/