wrapping them together , he moved to the girl and tied her hands together behind her back , then latched her feet together in as intricate a knot as he could imagine , and finally tied her to a tree , feeling all the while a kind of vindictive satisfaction in doing to her what she had so often done to him .