Zaslat SMS: Graph theory with applications