#3 : Added tree creating