Step 2 completed: Prepare Suffix Tree

Basically followed ananth's algorithm
no testing was done, but its pretty simple so should work
i dont understand why we have to check if the pathlabel is not zero, but
ill just trust the algorithm and check for it anyway
all that is left is part 3 and of course output