Added chat program to examples.