Generalize examples

Increasing the numbers of users and separating the classes
Let's rename this vector to `sockets`.