A small chat program written in Java