Tree Data Structure In Javascript Codeforces