Update Server.java to include sendMessageToAll function for ease of access