def find_block(hash)
      blockchain.select{|block| block if block.hash == hash}.first
    end
def find_block(hash)
      blockchain.select{|block| block if block.hash == hash}.first
    end
#find_block(hash) => Returns a block from the blockchain with the given hash