added printLeftView, printRightView and addGreaterValuesToEachNode