it would have looked contrived if they all sent identical messages to each recipient , so i put together a random insult program , with a psychological word-weighting algorithm based on the recipient 's last name .