Basic mutex added before debug

Before debug: added code to iterate through client list to send messages
to them and to add clients.
Basic Chatroom works

TODO forward other nodelist