Zaslat SMS: Graphs and algorithms