Start writing a small test script. Find and fix some bugs involving use of the thread library. More documentation. 'Finish' writing network maintenance code, not including announcing the existence of a node to other nodes. Such code should probably be included into ping and pong.