verify
Function to verify a PartialMerkleTree against an input Merkle root and a list of leaves. The tree should only contain the leaves defined in hashesToCheck.
Parameters
merkle Root Hash
Hash that should be checked for equality with root calculated from this partial tree.
hashes To Check
List of included leaves hashes that should be found in this partial tree.