collection of algorithms on PeerJS