calculating mrkl root from transactions hash