Updated PeerNode class to generate network_id derived from sha512 of the passed in public key.
Updated PeerNode class to generate network_id derived from sha512 of the passed in public key. Added the tests I missed with the commit a couple of seconds ago