adding student adding sections by passcoding
changed .sample to rand()