Link Cut Tree working