Implemented collaborative drawing with socket.io.