If left child is NULL and right is not , print right child and recur for right child
else if ( node . right != null ) { document . write ( node . right . data + " " ) ; this . printSingles ( node . right ) ; }