a simple merkleTree implementation written in python