creating bin tree and passing parameters to bin tree to add