Modified destroyTrie method to accomodate for payLoad freeing; added tag to WordsBlock struct to signal whether its elements are from the heap or not