Zaslat SMS: Greedy algorithms and Zipf laws