Due Date: Monday Nov. 10

1. Implement a small chat program using a message queue. This should be a client-server program. When a client connects to the server, the user should be presented with a list of all users currently connected. The user may now type text or commands. A line that begins with a period ('.') is a command, otherwise it is assumed to be text.

The commands supported by the server are:

.list: list names of all the connected users.

.connect : send text to the indicated user only.

.broadcast: send text to all connected users.

.disconnect: disconnect from the server

A single message queue should be used to implement this program, no matter how many clients are connected. Messages received from other users should be displayed immediately. You might want use curses for a more readable display, but that is not required for this assignment.