Making assignment to student list