SMS: Discrete mathematics with applications