but some of the living spirit of tak was trapped in the broken stone egg , and it became the first troll , wandering the world unbidden and unwanted , without soul or purpose , learning or understanding .