move function render tree to render.js
move code to calculate position to position.js
refactor code to render node circle
refactor code when node enter
refactor code to update tree height
refactor code for node update
refactor code for node exit
refactor code for working with links