basic python instant messaging experiment