Added quorum generating function to node class
Added quorum generating