A simulation of passing a attendance sheet in a class