Added nHash to proofStruct
Added constructor from string
Generating random array (h)