added a legacy version of the chat program. The legacy should work with older versions of Ruby such as 1.8.7