This is Binary tree code