Finished example chat program